<ul class="slidingMenu">
{foreach from=$nodes key=key item=node}
	{if $node->isRoot() && $key != 0}
		</ul></li>
	{/if}
	{if $node->isParent() && $node->isDisplayable()}
		<li class="parentNode">
			<div class="slideMenuItem">
                <a class="{$node->getNodeLinkClass()}{if $key == 0}firstNode{/if}" href="{$node->getEditLink()}">{if $key == 0}{icon name="menu_home.png" class="icon1616 menuUp"}{else}{icon name="menu_up.png" class="icon1616 menuUp"} {if $node->isModuleRootNode()}{moduleMedia module=$node->getModuleName() media=$node->getIcon() class="icon16"}{else}{icon name=$node->getIcon()}{/if}{/if} <strong>{$node->getLabel()}</strong></a>
				{if $key != 0}{if $node->hasActions()}<span class="slideMenuItemButtons">{if $node->isDeletable()}<a href="{$node->getDeleteLink()}" class="nyroModal itemButton itemDeleteButton"></a>{/if}{if $node->isTargetable()}<a href="{$node->getTargetEditLink()}" class="nyroModal itemButton itemTargetButton"></a>{/if}</span>{/if}{/if}
                {if $node->hasContextMenu()}
                <span class="slideMenuAddMenuLeft"><span class="slideMenuAddMenu"></span></span>
                <div id="sliderMenuContextMenu">
                    <ul>
                    {foreach from=$node->getContextMenuItems() item=menuItem}
                        <li><a href="{$URL_RELATIVE}/bo/#{$menuItem.href}" class="nyroModal">{$menuItem.label}</a></li>
                    {/foreach}
                    </ul>
                </div>
                {/if}
			</div>
            <ul id="{$node->getUniqueId()}_{$node->getLang()}">
	{else}
		{if $node->requireTranslation() && $node->isDisplayable()}
			<li id="slideNode_{$node->getUniqueId()}" class="childNode">
				<div class="slideMenuItem">
					<a class="{$node->getNodeLinkClass()}" href="{$node->getEditLink()}" title="{$node->getFullLabel()}"><span class="translation">{icon name="empty.png" class="icon12"}{icon name="message_add.png" style="opacity: .5; margin-right: 10px;"} {$node->getLabel()}</span></a>
				</div>
			</li>
		{elseif $node->isDisplayable()}
            <li id="slideNode_{$node->getUniqueId()}" class="childNode moveable">
				<div class="slideMenuItem">
                    <a class="{$node->getNodeLinkClass()}" href="{$node->getEditLink()}" title="{$node->getFullLabel()}">{if $node->isModuleRootNode()}{moduleMedia module=$node->getModuleName() media=$node->getIcon() class="icon16"}{else}{icon name=$node->getIcon()}{/if}{if $node->isTargeted()}{icon name="targeted.png" class="targetIcon"}{/if}{if $node->getContextModule() == 'website'}{icon name='status/'|cat:$node->getStatus()|cat:'.png' class="icon1616 statusIcon"}{/if} {$node->getLabel()}</a>
                    {if $node->hasActions()}<span class="slideMenuItemButtons">{if $node->isDeletable()}<a href="{$node->getDeleteLink()}" class="nyroModal itemButton itemDeleteButton"></a>{/if}{if $node->isTargetable()}<a href="{$node->getTargetEditLink()}" class="nyroModal itemButton itemTargetButton"></a>{/if}{if $node->isAlias()}<a href="{$node->getAliasEditLink()}" class="nyroModal itemButton itemEditButton"></a>{/if}</span>{/if}
				</div>
			</li>
		{/if}
	{/if}
{/foreach}
{foreach from=$nodes key=key item=node}
	{if $node->isParent() && $node->isDisplayable()}
		</ul></li>
	{/if}
{/foreach}

</ul>